﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
  <title>wedroid</title>
  
  <style type="text/css">
    .container {
      width: 1200px;
      margin: auto;
      text-align: center;
    }
    
    .qrcode {
      width: 120px;
      height: 120px;
    }
  </style>

</head>
<body>

  <div class="container">
    <h1>Hello wedroid</h1>

    <c:if test="${not empty qrcode}">
      <p>Scan QR Code to log in</p>
      <img src="${qrcode}" class="qrcode">
    </c:if>

    <c:if test="${status eq 'RUNNING'}">
      <p>Droid is running...</p>
    </c:if>
  </div>

</body>
</html>